home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
BITMAP.ZIP
/
BMMANIP.H
< prev
next >
Wrap
Text File
|
1993-04-19
|
2KB
|
53 lines
/*
** $id: ssvcid bmmanip.h 1.3 08/03/92 10:01 am$
** This file contains the function prototypes for the functions in
** bmmanip.c.
**
** (C) 1991-3 Larry Widing
*/
#if !defined(__BMMANIP_H__)
#define __BMMANIP_H__ 1
#if defined(CDECL)
#undef CDECL
#endif
#if !defined(CDECL)
#if defined(__cplusplus)
#define CDECL "C"
#else
#define CDECL
#endif
#endif
extern CDECL int DIBitmapColors(BITMAPINFO FAR *bmi);
extern CDECL LPSTR DIBitmapBits(BITMAPINFO FAR *bmi);
extern CDECL HPALETTE CreateDibPalette(HDIB hbm);
extern CDECL BOOL DrawBitmap(HDC hdc, int x, int y, HBITMAP hbm);
extern CDECL BOOL DrawDIBitmap(HDC hdc, int x, int y, HDIB hbm, HPALETTE palette);
extern CDECL BOOL StretchDIBitmap(HDC hdc, int x, int y, int tWidth, int tHeight, HDIB hbm, HPALETTE palette);
extern CDECL HBITMAP CopyBitmap(HBITMAP hbm);
extern CDECL HANDLE CopyDIBitmap(HDIB hbm);
extern CDECL HBITMAP DibToBitmap(HDIB hbm);
extern CDECL HDIB BitmapToDIB(HBITMAP hbm, int mode);
extern CDECL int DibIsOs2(HDIB hbm);
extern CDECL int DibIsCompressed(HDIB hbm);
extern CDECL int DibIsOs2(HDIB hbm);
extern CDECL int DibIsCompressed(HDIB hbm);
#endif /* !defined(__BMMANIP_H__) */
/*
** Modification History
** --------------------
** $lgb$
** 10/15/91 Larry Widing Initial version for Win Tech Journal Article.
** 11/12/91 Larry Widing Added prototypes for DibIsOs2() and
** DibIsCompressed().
** 02/10/92 Larry Widing Added support for HDIB type. Adde
** CreateDibPalette() prototype.
** 08/03/92 Larry Widing Added StretchDIBitmap().
** $lge$
*/